import request from '../utils/request';
//模板模拟
export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};
// 查询附近商家
export const search = (query) => {
    return request({
        url: '/vehicle/services/business',
        method: 'get',
        params: query
    });
};

// 查询所有商家
export const searchs = (query) => {
    return request({
        url: '/vehicle/services/allBusiness',
        method: 'get',
        params: query
    });
};

